package com.ggb.reactive.domain.dto

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotNull
import lombok.Data

@Data
@Schema(title="取消订单DTO OrdersCancelDTO")
data class OrdersCancelDTO(
    @field:NotNull(message="订单id不能为空")
    @Schema(description = "订单id")
    var id:Long?=null,
    @Schema(description = "订单取消原因")
    @field:NotNull(message="订单取消原因不能为空")
    var cancelReason:String?=null
)
